package net.esj.basic.template;

import java.util.Map;


public class VelocityTemplateEngine extends AbstractTemplateEngine {

	public String getTemplatePath() {
		return getClass().getResource("/").getPath()+"template/";
//		return "E:/program/javaws/mshrm/webapp/WEB-INF/classes/"+"template/";
//		return "template/";
	}
	
	public String run(Map map ,String template) throws Exception{
		return super.run(map,template);
	}

	public String getEngineType() {
		return "velocity";
	}

}
